package com.powernode.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 后端统一返回类型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    private Integer code; // 状态码
    private String msg; // 提示信息
    private Object data; // 数据

    public Result(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
